package io.gitee.zhangbinhub.acp.boot.conf;

import io.gitee.zhangbinhub.acp.boot.constant.AcpCoreConstant;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;

@ConfigurationProperties(prefix = AcpCoreConstant.TCP_SERVER_PROPERTIES_PREFIX)
public class AcpTcpServerConfiguration {
    public List<SocketListenerConfiguration> getListeners() {
        return listeners;
    }

    public void setListeners(List<SocketListenerConfiguration> listeners) {
        this.listeners = listeners;
    }

    private List<SocketListenerConfiguration> listeners = new ArrayList<>();
}
